home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / ui / hud_ammo_Sten.urc < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.3 KB  |  119 lines

  1. menu "hud_ammo_Sten Mark II" 261 279 NONE 1
  2. bgcolor 0 0 0 0
  3. fgcolor 1 1 1 1
  4. align right bottom
  5.  
  6. //==================================================
  7. // Ammo Clip Bullets Bar
  8.  
  9. // back one, shifted down and to the right
  10. resource
  11. Label
  12. {
  13. name "clipbulletse"
  14. ////rect 216 7 16 128
  15. //rect 216 7 24 128
  16. rect 213 24 32 240
  17. fgcolor 1.00 1.00 1.00 1.00
  18. bgcolor 0.50 0.50 0.50 0.00
  19. borderstyle "NONE"
  20. statbar vertical_stagger_even
  21. playerstat 6 // clip ammo
  22. maxplayerstat 7 // max clip ammo
  23. //statbar_shader textures/hud/clip_thompson
  24. statbar_tileshader textures/hud/clip_pistol
  25. }
  26.  
  27. // this is the front one, and should be shifted up and to the left
  28. resource
  29. Label
  30. {
  31. name "clipbulletso"
  32. ////rect 213 3 16 128
  33. //rect 213 3 24 128
  34. rect 209 16 32 240
  35. fgcolor 0.50 0.50 0.50 1.00
  36. bgcolor 0.50 0.50 0.50 0.00
  37. borderstyle "NONE"
  38. statbar vertical_stagger_odd
  39. playerstat 6 // clip ammo
  40. maxplayerstat 7 // max clip ammo
  41. //statbar_tileshader textures/hud/clip_thompson
  42. statbar_tileshader textures/hud/clip_pistol
  43. }
  44.  
  45. //==================================================
  46. // Ammo Count Seperator
  47.  
  48. resource
  49. Label
  50. {
  51. name "ammoseperator"
  52. title "|"
  53. //rect 160 117 8 18
  54. rect 160 245 8 18
  55. fgcolor 0.70 0.60 0.05 1.00
  56. bgcolor 0.50 0.50 0.50 0.00
  57. borderstyle "NONE"
  58. textalign centerx
  59. font facfont-20
  60. outlinedtext 1
  61. }
  62.  
  63. //==================================================
  64. // Total Ammo Count
  65.  
  66. resource
  67. Label
  68. {
  69. name "ammocount"
  70. //rect 168 117 32 18
  71. rect 168 245 32 18
  72. fgcolor 0.70 0.60 0.05 1.00
  73. bgcolor 0.50 0.50 0.50 0.00
  74. borderstyle "NONE"
  75. playerstat 4 // ammo
  76. textalign left
  77. font facfont-20
  78. outlinedtext 1
  79. }
  80.  
  81. //==================================================
  82. // Ammo Clip Count
  83.  
  84. resource
  85. Label
  86. {
  87. name "clipcount"
  88. //rect 128 117 32 18
  89. rect 128 245 32 18
  90. fgcolor 0.70 0.60 0.05 1.00
  91. bgcolor 0.50 0.50 0.50 0.00
  92. borderstyle "NONE"
  93. playerstat 6 // clip ammo
  94. textalign right
  95. font facfont-20
  96. outlinedtext 1
  97. }
  98.  
  99. //==================================================
  100. // Weapon Name Display
  101.  
  102. resource
  103. Label
  104. {
  105. name "weaponname"
  106. //rect 0 95 200 22
  107. rect 0 223 200 22
  108. fgcolor 0.70 0.60 0.05 1.00
  109. bgcolor 0.50 0.50 0.50 0.00
  110. borderstyle "NONE"
  111. itemstat 1 // equipped weapon
  112. textalign right
  113. font facfont-20
  114. outlinedtext 1
  115. }
  116.  
  117.  
  118. end.
  119.